package com.bootdo.storageRack.dao;

import com.bootdo.storageRack.domain.StorageRackDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 货架表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-02-02 17:41:41
 */
@Mapper
public interface StorageRackDao {

	StorageRackDO get(Long id);
	
	List<StorageRackDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StorageRackDO storageRack);
	
	int update(StorageRackDO storageRack);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
